/*
 * @Description: 头部
 * @Author: iamsmiling
 * @Date: 2021-06-08 21:35:54
 * @LastEditTime: 2021-06-08 21:41:39
 */
import 'package:credit_business_circle/R/R.dart';
import 'package:credit_business_circle/components/image/chimera_image.dart';
import 'package:flutter/material.dart';

class CommunityGroupHeader extends StatelessWidget {
  const CommunityGroupHeader({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      color: R.color.ffffffff,
      padding: EdgeInsets.only(
          left: R.dimen.dp16,
          right: R.dimen.dp16,
          bottom: R.dimen.dp22,
          top: R.dimen.dp20),
      child: Row(
        children: [
          Container(
            margin: EdgeInsets.only(right: R.dimen.dp20),
            child: ChimeraImage(
              src: "https://i.loli.net/2021/04/13/4djlszXmOnRDx7N.png",
              borderRadius: BorderRadius.zero,
              width: R.dimen.dp55,
              height: R.dimen.dp55,
            ),
          ),
          Expanded(
              child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Text(
                "【信商圈】商务BD资源3群",
                style: TextStyle(
                    fontSize: R.dimen.sp15,
                    color: R.color.ff333333,
                    fontWeight: FontWeight.w600),
              ),
              Container(
                margin: EdgeInsets.only(top: R.dimen.dp20),
                child: Text(
                  "官方群：有需求请按模板发布，一天仅限发布一次",
                  style: TextStyle(
                      fontSize: R.dimen.sp11, color: R.color.ff888888),
                ),
              )
            ],
          ))
        ],
      ),
    );
  }
}
